package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 servicebook
 * 
 * @author ruoyi
 * @date 2024-09-21
 */
public class Servicebook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务预约ID */
    private Long bookingId;

    /** 请求预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请求预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestedTime;

    /** 确认预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确认预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduledTime;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setBookingId(Long bookingId) 
    {
        this.bookingId = bookingId;
    }

    public Long getBookingId() 
    {
        return bookingId;
    }
    public void setRequestedTime(Date requestedTime) 
    {
        this.requestedTime = requestedTime;
    }

    public Date getRequestedTime() 
    {
        return requestedTime;
    }
    public void setScheduledTime(Date scheduledTime) 
    {
        this.scheduledTime = scheduledTime;
    }

    public Date getScheduledTime() 
    {
        return scheduledTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bookingId", getBookingId())
            .append("requestedTime", getRequestedTime())
            .append("scheduledTime", getScheduledTime())
            .append("status", getStatus())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
